public class Test {
    public static void main(String[] args) {
        MyQueqe myQueqe = new MyQueqe();
        myQueqe.offer(1);
        myQueqe.offer(2);
        myQueqe.offer(3);
        myQueqe.offer(4);

        System.out.println(myQueqe.poll());
        System.out.println(myQueqe.peek());




    }
}
